package com.eqdd.yiqidian.share;

import com.eqdd.yiqidian.base.BaseActivity;

/**
 * @author吕志豪 .
 * @date 18-2-2  上午9:43.
 * Github :https://github.com/lvzhihao100
 * E-Mail：1030753080@qq.com
 * 简书 :http://www.jianshu.com/u/6e525b929aac
 */

public class LinkShareBuilder extends ShareBuilder {

    private String id;
    private String imageUrl;
    private String imagePath;
    private String text;
    private String url;
    private String title;

    public LinkShareBuilder(BaseActivity baseActivity) {
        this.baseActivity = baseActivity;
    }

    public LinkShareBuilder setId(String id) {
        this.id = id;
        return this;
    }

    public String getId() {
        return id;
    }

    public LinkShareBuilder imgUrl(String imgUrl) {
        this.imageUrl = imgUrl;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public LinkShareBuilder setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public LinkShareBuilder setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getText() {
        return text;
    }

    public LinkShareBuilder setText(String text) {
        this.text = text;
        return this;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public LinkShareBuilder setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
        return this;
    }

    public String getImagePath() {
        return imagePath;
    }

    public LinkShareBuilder setImagePath(String imagePath) {
        this.imagePath = imagePath;
        return this;
    }

    public JShareDialog build() {
        return new JShareDialog(this, baseActivity);
    }
}
